package com.baiyi.homeui.hshomeui.entity;

import java.util.ArrayList;

public class PcInfo {

    private PcCpu cpu;
    private PcMem memory;
    private PcNetwork network;

    private Disk disk;

    private PcGpu gpu;

    private ArrayList<Fan> fans;

    private PcMd motherboard;
    private long timestamp;


    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Disk getDisk() {
        return disk;
    }

    public void setDisk(Disk disk) {
        this.disk = disk;
    }

    public PcGpu getGpu() {
        return gpu;
    }

    public void setGpu(PcGpu gpu) {
        this.gpu = gpu;
    }

    public PcCpu getCpu() {
        return cpu;
    }

    public void setCpu(PcCpu cpu) {
        this.cpu = cpu;
    }

    public PcNetwork getNetwork() {
        return network;
    }

    public void setNetwork(PcNetwork network) {
        this.network = network;
    }

    public ArrayList<Fan> getFans() {
        return fans;
    }

    public void setFans(ArrayList<Fan> fans) {
        this.fans = fans;
    }

    public PcMem getMemory() {
        return memory;
    }

    public void setMemory(PcMem memory) {
        this.memory = memory;
    }

    public PcMd getMotherboard() {
        return motherboard;
    }

    public void setMotherboard(PcMd motherboard) {
        this.motherboard = motherboard;
    }

    @Override
    public String toString() {
        return "PcInfo{" +
                "cpu=" + cpu +
                ", memory=" + memory +
                ", network=" + network +
                ", disk=" + disk +
                ", gpu=" + gpu +
                ", fans=" + fans +
                '}';
    }
}
